package cn.itcast.dao.cargo;

import cn.itcast.domain.cargo.Invoice;

import java.util.List;

/**
 * @AuThor：zengxing
 * @DATE:2020/12/25 11:34  250
 */
public interface InvoiceDao {
    void save(Invoice invoice);

    List<Invoice> findAll(String companyId);

    void delete(String id);

    Invoice findById(String id);

    void update(Invoice invoice);
}
